package com.lglbc.decorator;

/**
 * @author： 乐哥聊编程(全平台同号)
 * @date: 2022/5/22
 */
public class DecoratorA extends Decorator{
    public DecoratorA(Component component) {
        super(component);
    }

    @Override
    public void execute() {
        addExcExecute();
        super.execute();

    }
    public void addExcExecute(){
        System.out.println("对方法进行装饰处理");
    }
}
